﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="edit_fee.aspx.cs" Inherits="SQT.tracnghiem.Ajax.ASP.Accountant.edit_fee" %>

<%@ Import Namespace="DataAccess" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

<body>
    <%int id = int.Parse(Request.QueryString["id"]);
      var get_fee = new TblFeeController().FetchAll().Where(x => x.Id == id).Single();
      %>
    <td>
        <input class="edit_fee_packet" style="width: 150px" type="text" placeholder="Nhập hình thức" value="<%=get_fee.Packet %>" /></td>
    <td>
        <input class="edit_fee_month" style="width: 100px" type="text" value="<%=get_fee.Months %>" /></td>
    <td>
        <input class="edit_fee_fee" style="width: 160px" type="text" placeholder="Nhập học phí" value="<%=get_fee.Fee %>" /></td>
    <td>
        <input class="edit_fee_special" style="width: 150px" type="text" placeholder="Nhập ưu đãi (nếu có)" value="<%=get_fee.Special %>" /></td>
    <td><i onclick="save_fee(<%=id %>)" class="fee-option-btn fa fa-save" title="Lưu"></i><i onclick="cancel_fee(<%=id %>)" class="fee-option-btn fa fa-times" title="Hủy"></i></td>
</body>
</html>
